<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>User Page</title>
        <link href="./../CSS/style.css" rel="stylesheet" type="text/css" />
        <link href="./../CSS/theme.css" rel="stylesheet" type="text/css" />        
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </h:head>
    <h:body>

        <div style="margin: 0 auto;text-align: center;border-style: none;">
            <table align="center" width="100%">
                <tr>
                    <td width="300px"></td>
                    <td width="600px">

                    </td>
                    <td width="300px">
                        <div style="margin-right: 10px ;float: right;">                            
                        </div>
                    </td>
                </tr>
                <tr align="center" style="width: 1200px;height: 500px">
                    <td colspan="3">
                        <object type="application/x-shockwave-flash"
                                data="./../CSS/images/4Web/header2_v8.swf" width="900px" height="450px">
                            <param name="loop" value="true" />
                            <param name="menu" value="false" />
                        </object>
                    </td>
                </tr>           

                <tr align="center">
                    <td colspan="2" width="1000" height="1000px" valign="top">
                        <table width="100%">
                        <tr>
                            <td width="100%">
                            <h:form>
                                <table>
                                    <tr>
                                        <td>
                                            <h:commandButton image="./../images/icon16.png" action="#{navigate.toHome()}"/>
                                        </td>
                                        <td width="30"></td>
                                        <td>
                                            <h:commandButton image="./../images/icon19.png" action="#{navigate.toeditprecom}"/>
                                        </td>
                                        <td width="30"></td>
                                        <td>
                                            <h:commandButton image="./../images/User.png" onclick="dri.show();return false"/>
                                            
                                        </td>
                                    </tr>
                                    <tr style="text-align: center">
                                        <td><h:outputLabel value="Home"/></td>
                                        <td width="30"></td>
                                        <td><h:outputLabel value="Edit"/></td>
                                        <td width="30"></td>
                                        <td><h:outputLabel value="Driver"/></td>
                                    </tr>
                                </table>
                            </h:form>    
                                </td>
                        </tr>
                        <tr>
                            <td width="100%" height="400">
                                
                            <p:outputPanel id="cen">
                                <ui:include src="#{navigate.precom}"/>
                            </p:outputPanel>
                            
                            </td>
                        </tr>
                            </table>
                    </td>


            


                    <td width="50px" valign="top">                      
                        <div><ui:include src="./Status.xhtml"/></div>
                    </td>                                 
                </tr>

                <tr align="center" >
                    <td colspan="3">
                        <div>Copyright &copy; by RadioCabs Co.</div>
                    </td>
                </tr>
            </table>
        </div>
        <p:dialog widgetVar="dri" header="City Chooser" showEffect="explode" hideEffect="drop">                          
                <ui:include src="./ChooseCity.xhtml"/>                  
           </p:dialog>
    </h:body>
</html>

